﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Program
    {
        static void Main(string[] args)
        {
            USB_disk n1 = new USB_disk("爱国者");
            n1.Read();
            n1.Write();

            Mobile_HD m1 = new Mobile_HD("三星");
            m1.Read();
            m1.Write();

            Computer ASUA = new Computer("华硕");
            ASUA.Star();
            ASUA.U1 = n1;
            ASUA.U2 = m1;
            ASUA.Readdate();
            ASUA.Writedate();
            ASUA.End();

        }
    }
}
